package cn.turing.ssm.mapper;

import cn.turing.ssm.entity.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName UserInfoMapper
 * @Description: TODO
 * @Author gmllt20171110
 * @Date 2020/1/24
 * @Version V1.0
 **/
public interface UserInfoMapper
{
    public UserInfo findById(Integer id);

//    public List<UserInfo> findAll(Map param);

    public List<UserInfo> findAll(@Param("username") String username, @Param("phone") String phone);

    public int add(UserInfo userInfo);
}
